[Top] [Prev] [Next] [Bottom]
[Contents]
SaSetCacheNumConn
Sets the number of cached database connections (per database vendor) that will be held open in a Sapphire generated application server. This function call is inserted automatically from the project option AppServer | Cached Connections.
#include "SaRnHtml.h"
int SaSetCacheNumConn SUTPROTO((int num));
Arguments
- num
- Number indicating the number of cached connections to keep open.
Return Values
Returns the integer value "0", if the input is between 1 and 10. Returns -1 if input is out of that range (although 1 or 10 are used for out of range values).
Sets the number of cached database connections (per database vendor) that will be held open in a Sapphire generated application server. This function call is inserted automatically from the project option AppServer | Cached Connections. The default is 2. Values less than 1 are set to 1. Value greater than 10 are set to 10.
SaSetCacheNumConn(1);
- Note: This call is generated automatically by Sapphire/Web in the Main C file, with the value being the value of the AppServer | Cached Connections option.
See Also
[Top] [Prev] [Next] [Bottom]
[Contents]
info@bluestone.com
Copyright © 1997, Bluestone. All rights
reserved.